<h1>Crm tareas List</h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>Fecha</th>
      <th>Hora</th>
      <th>Duracion</th>
      <th>Descripcion</th>
      <th>Categoria</th>
      <th>Lugar</th>
      <th>Contacto</th>
      <th>Empresa</th>
      <th>Asignada a</th>
      <th>Tareas realizadas</th>
      <th>Publica</th>
      <th>Estado</th>
      <th>Created at</th>
      <th>Updated at</th>
      <th>Validated at</th>
      <th>Is validated</th>
      <th>Removed at</th>
      <th>Remove it</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($crm_tareas as $crm_tarea): ?>
    <tr>
      <td><a href="<?php echo url_for('tarea/show?id='.$crm_tarea->getId()) ?>"><?php echo $crm_tarea->getId() ?></a></td>
      <td><?php echo $crm_tarea->getFecha() ?></td>
      <td><?php echo $crm_tarea->getHora() ?></td>
      <td><?php echo $crm_tarea->getDuracion() ?></td>
      <td><?php echo $crm_tarea->getDescripcion() ?></td>
      <td><?php echo $crm_tarea->getCategoriaId() ?></td>
      <td><?php echo $crm_tarea->getLugar() ?></td>
      <td><?php echo $crm_tarea->getContactoId() ?></td>
      <td><?php echo $crm_tarea->getEmpresaId() ?></td>
      <td><?php echo $crm_tarea->getAsignadaA() ?></td>
      <td><?php echo $crm_tarea->getTareasRealizadas() ?></td>
      <td><?php echo $crm_tarea->getPublica() ?></td>
      <td><?php echo $crm_tarea->getEstadoId() ?></td>
      <td><?php echo $crm_tarea->getCreatedAt() ?></td>
      <td><?php echo $crm_tarea->getUpdatedAt() ?></td>
      <td><?php echo $crm_tarea->getValidatedAt() ?></td>
      <td><?php echo $crm_tarea->getIsValidated() ?></td>
      <td><?php echo $crm_tarea->getRemovedAt() ?></td>
      <td><?php echo $crm_tarea->getRemoveIt() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('tarea/new') ?>">New</a>
